package com.sun.dream.fish.service;

import com.sun.dream.fish.vo.ResultVO;
import com.sun.dream.fish.vo.back.LoginUserVO;
import com.sun.dream.fish.vo.back.RegisterVO;
import com.sun.dream.fish.vo.back.UserVO;

/**
 * Description: 登录接口
 * Created By ljl on 2023/12/11.
 */
public interface ILoginService {

    ResultVO<UserVO> register(RegisterVO registerVO);

    ResultVO<LoginUserVO> login(String username, String password);

    ResultVO<LoginUserVO> logout();
}
